<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>文件上传</title>
</head>
<body>
    <form action="upload" method="post"
          enctype="multipart/form-data">
            上传文件名：<input type="file"  name="file"/>
       <input type="submit" value="上传" />
    </form>
</body>
</html>